Ext.define("Dict.view.ui.MainWindow", {
    extend : "Ext.window.Window",
    requires : [
	   // "Dict.view.ui.SearchView"
    ],
    layout : {
	    type : "border"
    },
    items : [
            {
                region : "center",
                xtype : "panel",
                title : "Panel 1",
                height : 500,
                width : 500,
                items : [
                        {
                            xtype : 'toolbar',
                            text : "Toolbar 1",
                            items : [
                                    {
                                        xtype : "button",
                                        text : 'List',
                                        action : 'list'
                                    }, {
                                        xtype : "button",
                                        text : 'Remove Feed',
                                        action : 'remove'
                                    }
                            ]
                        }, {
                            xtype : "tabpanel",
                            text : "List",
                            items : [
                                    {
                                        xtype : "panel",
                                        text : "Panel 1",
                                        title : "List Articles",
                                        layout : {
                                            type : "auto",
                                            align : 'stretch'
                                        },
                                        items : [
                                                {
                                                    xtype : "textfield",
                                                    name : "url",
                                                    fieldLabel : "URL"
                                                }, {
                                                    xtype : "textfield",
                                                    name : "title",
                                                    fieldLabel : "Title"
                                                }, {
                                                    xtype : "textarea",
                                                    name : "text",
                                                    fieldLabel : "Text"
                                                }, {
                                                    xtype : "button",
                                                    text : "Find"
                                                }, {
                                                // xtype : "dictsearchview"
                                                }
                                        ]
                                    }, {
                                        xtype : "panel",
                                        text : "Panel 2",
                                        title : "Title 2"
                                    }, {
                                        xtype : "panel",
                                        text : "Panel 3",
                                        title : "Title 3"
                                    }
                            ],
                        }
                ]
            }, {
                region : "west",
                width : 225,
                xtype : "panel",
                disabled : true
            }, {
                region : "east",
                width : 225,
                xtype : "panel",
                disabled : true
            }
    ]

});